﻿using System;

namespace Unis.Framework.ORM.Attributes
{
    [AttributeUsage(AttributeTargets.Class)]
    public class AutoIncreaseAttribute : Attribute
    {
        // Fields
        private int step;

        // Methods
        public AutoIncreaseAttribute()
        {
            this.step = 1;
        }

        public AutoIncreaseAttribute(int step)
        {
            this.step = 1;
            this.step = step;
        }

        // Properties
        public int Step
        {
            get
            {
                return this.step;
            }
            set
            {
                this.step = value;
            }
        }
    }
}
